compress/flate.advancedState.index (field)

44 uses

	compress/flate (current package)
		deflate.go#L92: 	index     int32
		deflate.go#L131: 	if s.index >= 2*windowSize-(minMatchLength+maxMatchLength) {
		deflate.go#L134: 		s.index -= windowSize
		deflate.go#L252: 	s.index = n
		deflate.go#L364: 	s.index = 0
		deflate.go#L385: 	prevIndex := s.index - 1
		deflate.go#L391: 	minIndex := max(s.index-windowSize, 0)
		deflate.go#L412: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L417: 				s.index++
		deflate.go#L418: 				if s.index < s.maxInsertIndex {
		deflate.go#L419: 					h := hash4(d.window[s.index:])
		deflate.go#L422: 					s.hashPrev[s.index&windowMask] = ch
		deflate.go#L423: 					s.hashHead[h] = s.index + s.hashOffset
		deflate.go#L443: 		if s.index >= d.windowEnd-1 {
		deflate.go#L446: 		d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L448: 			if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L453: 		if s.index < s.maxInsertIndex {
		deflate.go#L454: 			h := hash4(d.window[s.index:])
		deflate.go#L457: 			s.hashPrev[s.index&windowMask] = ch
		deflate.go#L458: 			s.hashHead[h] = s.index + s.hashOffset
		deflate.go#L460: 		s.index++
		deflate.go#L462: 	d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L465: 		if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L480: 	if d.windowEnd-s.index < minMatchLength+maxMatchLength && !d.sync {
		deflate.go#L483: 	if d.windowEnd != s.index && d.chain > 100 {
		deflate.go#L490: 		toIndex := d.window[s.index:d.windowEnd]
		deflate.go#L501: 		lookahead := d.windowEnd - s.index
		deflate.go#L510: 					d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L514: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L522: 		if s.index < s.maxInsertIndex {
		deflate.go#L523: 			h := hash4(d.window[s.index:])
		deflate.go#L526: 			s.hashPrev[s.index&windowMask] = ch
		deflate.go#L527: 			s.hashHead[h] = s.index + s.hashOffset
		deflate.go#L533: 		minIndex := max(s.index-windowSize, 0)
		deflate.go#L536: 			if newLength, newOffset, ok := d.findMatch(s.index, s.chainHead-s.hashOffset, lookahead); ok {
		deflate.go#L556: 			newIndex := s.index + prevLength - 1
		deflate.go#L559: 			startindex := min(s.index+1, s.maxInsertIndex)
		deflate.go#L574: 			s.index = newIndex
		deflate.go#L578: 				if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L591: 			d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L593: 				if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L598: 			s.index++
		deflate.go#L603: 			s.index++
		deflate.go#L774: 	s.index = 0